//
// Copyright (c) 2009 All Right Reserved
//
// Stephen Toub
// stoub@microsoft.com
// 2009-01-01
// Contains ...
using System;
using JetBrains.Annotations;
namespace LargoCommon.Midi {
/// A text meta event.
[Serializable]
public sealed class MetaText : MetaAbstractText {
#region Fields
/// The meta id for this event.
private const byte EventMetaId = 0x1;
#endregion
#region Constructors
/// Initializes a new instance of the MetaText class.
/// The amount of time before this event.
/// The text associated with the event.
public MetaText(long deltaTime, string text)
: base(deltaTime, EventMetaId, text) {
}
/// Initializes a new instance of the MetaText class.
/// The amount of time before this event.
/// The ID of the meta event.
/// The text associated with the event.
[UsedImplicitly]
public MetaText(long deltaTime, byte givenMetaEventId, string text)
: base(deltaTime, givenMetaEventId, text) {
}
#endregion
}
}